package com.appkubes.mall.core.pojo;

import com.appkubes.mall.core.po.FintechRentOrder;
import com.appkubes.mall.core.po.FintechRentOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.type.JdbcType;

public interface FintechRentOrderMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRentOrderSqlProvider.class, method="countByExample")
    long countByExample(FintechRentOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @DeleteProvider(type=FintechRentOrderSqlProvider.class, method="deleteByExample")
    int deleteByExample(FintechRentOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @Delete({
        "delete from fintech_rent_order",
        "where rent_order_key = #{rentOrderKey,jdbcType=VARCHAR}"
    })
    int deleteByPrimaryKey(String rentOrderKey);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @Insert({
        "insert into fintech_rent_order (rent_order_key, app_key, ",
        "rent_order_no, order_key, ",
        "user_key, goods_title, ",
        "goods_amount, rent_amount, ",
        "credit_amount, credit_increase_amount, ",
        "fist_pay_amount, rent_type, ",
        "interest_rate, periods_code, ",
        "periods, period_type, ",
        "period_days, rent_start_date, ",
        "buy_out_amount, buy_out_repay_amount, ",
        "`status`, buy_status, ",
        "pay_status, create_time, ",
        "update_time, is_sure, ",
        "contract_url)",
        "values (#{rentOrderKey,jdbcType=VARCHAR}, #{appKey,jdbcType=VARCHAR}, ",
        "#{rentOrderNo,jdbcType=VARCHAR}, #{orderKey,jdbcType=VARCHAR}, ",
        "#{userKey,jdbcType=VARCHAR}, #{goodsTitle,jdbcType=VARCHAR}, ",
        "#{goodsAmount,jdbcType=INTEGER}, #{rentAmount,jdbcType=INTEGER}, ",
        "#{creditAmount,jdbcType=INTEGER}, #{creditIncreaseAmount,jdbcType=INTEGER}, ",
        "#{fistPayAmount,jdbcType=INTEGER}, #{rentType,jdbcType=VARCHAR}, ",
        "#{interestRate,jdbcType=DECIMAL}, #{periodsCode,jdbcType=VARCHAR}, ",
        "#{periods,jdbcType=INTEGER}, #{periodType,jdbcType=INTEGER}, ",
        "#{periodDays,jdbcType=INTEGER}, #{rentStartDate,jdbcType=DATE}, ",
        "#{buyOutAmount,jdbcType=INTEGER}, #{buyOutRepayAmount,jdbcType=INTEGER}, ",
        "#{status,jdbcType=VARCHAR}, #{buyStatus,jdbcType=INTEGER}, ",
        "#{payStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ",
        "#{updateTime,jdbcType=TIMESTAMP}, #{isSure,jdbcType=INTEGER}, ",
        "#{contractUrl,jdbcType=LONGVARCHAR})"
    })
    int insert(FintechRentOrder record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @InsertProvider(type=FintechRentOrderSqlProvider.class, method="insertSelective")
    int insertSelective(FintechRentOrder record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRentOrderSqlProvider.class, method="selectByExampleWithBLOBs")
    @Results({
        @Result(column="rent_order_key", property="rentOrderKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="rent_order_no", property="rentOrderNo", jdbcType=JdbcType.VARCHAR),
        @Result(column="order_key", property="orderKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_title", property="goodsTitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_amount", property="goodsAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_amount", property="rentAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_amount", property="creditAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_increase_amount", property="creditIncreaseAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="fist_pay_amount", property="fistPayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_type", property="rentType", jdbcType=JdbcType.VARCHAR),
        @Result(column="interest_rate", property="interestRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="periods_code", property="periodsCode", jdbcType=JdbcType.VARCHAR),
        @Result(column="periods", property="periods", jdbcType=JdbcType.INTEGER),
        @Result(column="period_type", property="periodType", jdbcType=JdbcType.INTEGER),
        @Result(column="period_days", property="periodDays", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_start_date", property="rentStartDate", jdbcType=JdbcType.DATE),
        @Result(column="buy_out_amount", property="buyOutAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="buy_out_repay_amount", property="buyOutRepayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="status", property="status", jdbcType=JdbcType.VARCHAR),
        @Result(column="buy_status", property="buyStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="is_sure", property="isSure", jdbcType=JdbcType.INTEGER),
        @Result(column="contract_url", property="contractUrl", jdbcType=JdbcType.LONGVARCHAR)
    })
    List<FintechRentOrder> selectByExampleWithBLOBsWithRowbounds(FintechRentOrderExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRentOrderSqlProvider.class, method="selectByExampleWithBLOBs")
    @Results({
        @Result(column="rent_order_key", property="rentOrderKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="rent_order_no", property="rentOrderNo", jdbcType=JdbcType.VARCHAR),
        @Result(column="order_key", property="orderKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_title", property="goodsTitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_amount", property="goodsAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_amount", property="rentAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_amount", property="creditAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_increase_amount", property="creditIncreaseAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="fist_pay_amount", property="fistPayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_type", property="rentType", jdbcType=JdbcType.VARCHAR),
        @Result(column="interest_rate", property="interestRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="periods_code", property="periodsCode", jdbcType=JdbcType.VARCHAR),
        @Result(column="periods", property="periods", jdbcType=JdbcType.INTEGER),
        @Result(column="period_type", property="periodType", jdbcType=JdbcType.INTEGER),
        @Result(column="period_days", property="periodDays", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_start_date", property="rentStartDate", jdbcType=JdbcType.DATE),
        @Result(column="buy_out_amount", property="buyOutAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="buy_out_repay_amount", property="buyOutRepayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="status", property="status", jdbcType=JdbcType.VARCHAR),
        @Result(column="buy_status", property="buyStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="is_sure", property="isSure", jdbcType=JdbcType.INTEGER),
        @Result(column="contract_url", property="contractUrl", jdbcType=JdbcType.LONGVARCHAR)
    })
    List<FintechRentOrder> selectByExampleWithBLOBs(FintechRentOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRentOrderSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="rent_order_key", property="rentOrderKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="rent_order_no", property="rentOrderNo", jdbcType=JdbcType.VARCHAR),
        @Result(column="order_key", property="orderKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_title", property="goodsTitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_amount", property="goodsAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_amount", property="rentAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_amount", property="creditAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_increase_amount", property="creditIncreaseAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="fist_pay_amount", property="fistPayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_type", property="rentType", jdbcType=JdbcType.VARCHAR),
        @Result(column="interest_rate", property="interestRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="periods_code", property="periodsCode", jdbcType=JdbcType.VARCHAR),
        @Result(column="periods", property="periods", jdbcType=JdbcType.INTEGER),
        @Result(column="period_type", property="periodType", jdbcType=JdbcType.INTEGER),
        @Result(column="period_days", property="periodDays", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_start_date", property="rentStartDate", jdbcType=JdbcType.DATE),
        @Result(column="buy_out_amount", property="buyOutAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="buy_out_repay_amount", property="buyOutRepayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="status", property="status", jdbcType=JdbcType.VARCHAR),
        @Result(column="buy_status", property="buyStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="is_sure", property="isSure", jdbcType=JdbcType.INTEGER)
    })
    List<FintechRentOrder> selectByExampleWithRowbounds(FintechRentOrderExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRentOrderSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="rent_order_key", property="rentOrderKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="rent_order_no", property="rentOrderNo", jdbcType=JdbcType.VARCHAR),
        @Result(column="order_key", property="orderKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_title", property="goodsTitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_amount", property="goodsAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_amount", property="rentAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_amount", property="creditAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_increase_amount", property="creditIncreaseAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="fist_pay_amount", property="fistPayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_type", property="rentType", jdbcType=JdbcType.VARCHAR),
        @Result(column="interest_rate", property="interestRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="periods_code", property="periodsCode", jdbcType=JdbcType.VARCHAR),
        @Result(column="periods", property="periods", jdbcType=JdbcType.INTEGER),
        @Result(column="period_type", property="periodType", jdbcType=JdbcType.INTEGER),
        @Result(column="period_days", property="periodDays", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_start_date", property="rentStartDate", jdbcType=JdbcType.DATE),
        @Result(column="buy_out_amount", property="buyOutAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="buy_out_repay_amount", property="buyOutRepayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="status", property="status", jdbcType=JdbcType.VARCHAR),
        @Result(column="buy_status", property="buyStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="is_sure", property="isSure", jdbcType=JdbcType.INTEGER)
    })
    List<FintechRentOrder> selectByExample(FintechRentOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @Select({
        "select",
        "rent_order_key, app_key, rent_order_no, order_key, user_key, goods_title, goods_amount, ",
        "rent_amount, credit_amount, credit_increase_amount, fist_pay_amount, rent_type, ",
        "interest_rate, periods_code, periods, period_type, period_days, rent_start_date, ",
        "buy_out_amount, buy_out_repay_amount, `status`, buy_status, pay_status, create_time, ",
        "update_time, is_sure, contract_url",
        "from fintech_rent_order",
        "where rent_order_key = #{rentOrderKey,jdbcType=VARCHAR}"
    })
    @Results({
        @Result(column="rent_order_key", property="rentOrderKey", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="rent_order_no", property="rentOrderNo", jdbcType=JdbcType.VARCHAR),
        @Result(column="order_key", property="orderKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_title", property="goodsTitle", jdbcType=JdbcType.VARCHAR),
        @Result(column="goods_amount", property="goodsAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_amount", property="rentAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_amount", property="creditAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="credit_increase_amount", property="creditIncreaseAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="fist_pay_amount", property="fistPayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_type", property="rentType", jdbcType=JdbcType.VARCHAR),
        @Result(column="interest_rate", property="interestRate", jdbcType=JdbcType.DECIMAL),
        @Result(column="periods_code", property="periodsCode", jdbcType=JdbcType.VARCHAR),
        @Result(column="periods", property="periods", jdbcType=JdbcType.INTEGER),
        @Result(column="period_type", property="periodType", jdbcType=JdbcType.INTEGER),
        @Result(column="period_days", property="periodDays", jdbcType=JdbcType.INTEGER),
        @Result(column="rent_start_date", property="rentStartDate", jdbcType=JdbcType.DATE),
        @Result(column="buy_out_amount", property="buyOutAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="buy_out_repay_amount", property="buyOutRepayAmount", jdbcType=JdbcType.INTEGER),
        @Result(column="status", property="status", jdbcType=JdbcType.VARCHAR),
        @Result(column="buy_status", property="buyStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="pay_status", property="payStatus", jdbcType=JdbcType.INTEGER),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="is_sure", property="isSure", jdbcType=JdbcType.INTEGER),
        @Result(column="contract_url", property="contractUrl", jdbcType=JdbcType.LONGVARCHAR)
    })
    FintechRentOrder selectByPrimaryKey(String rentOrderKey);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRentOrderSqlProvider.class, method="updateByExampleSelective")
    int updateByExampleSelective(@Param("record") FintechRentOrder record, @Param("example") FintechRentOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRentOrderSqlProvider.class, method="updateByExampleWithBLOBs")
    int updateByExampleWithBLOBs(@Param("record") FintechRentOrder record, @Param("example") FintechRentOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRentOrderSqlProvider.class, method="updateByExample")
    int updateByExample(@Param("record") FintechRentOrder record, @Param("example") FintechRentOrderExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRentOrderSqlProvider.class, method="updateByPrimaryKeySelective")
    int updateByPrimaryKeySelective(FintechRentOrder record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @Update({
        "update fintech_rent_order",
        "set app_key = #{appKey,jdbcType=VARCHAR},",
          "rent_order_no = #{rentOrderNo,jdbcType=VARCHAR},",
          "order_key = #{orderKey,jdbcType=VARCHAR},",
          "user_key = #{userKey,jdbcType=VARCHAR},",
          "goods_title = #{goodsTitle,jdbcType=VARCHAR},",
          "goods_amount = #{goodsAmount,jdbcType=INTEGER},",
          "rent_amount = #{rentAmount,jdbcType=INTEGER},",
          "credit_amount = #{creditAmount,jdbcType=INTEGER},",
          "credit_increase_amount = #{creditIncreaseAmount,jdbcType=INTEGER},",
          "fist_pay_amount = #{fistPayAmount,jdbcType=INTEGER},",
          "rent_type = #{rentType,jdbcType=VARCHAR},",
          "interest_rate = #{interestRate,jdbcType=DECIMAL},",
          "periods_code = #{periodsCode,jdbcType=VARCHAR},",
          "periods = #{periods,jdbcType=INTEGER},",
          "period_type = #{periodType,jdbcType=INTEGER},",
          "period_days = #{periodDays,jdbcType=INTEGER},",
          "rent_start_date = #{rentStartDate,jdbcType=DATE},",
          "buy_out_amount = #{buyOutAmount,jdbcType=INTEGER},",
          "buy_out_repay_amount = #{buyOutRepayAmount,jdbcType=INTEGER},",
          "`status` = #{status,jdbcType=VARCHAR},",
          "buy_status = #{buyStatus,jdbcType=INTEGER},",
          "pay_status = #{payStatus,jdbcType=INTEGER},",
          "create_time = #{createTime,jdbcType=TIMESTAMP},",
          "update_time = #{updateTime,jdbcType=TIMESTAMP},",
          "is_sure = #{isSure,jdbcType=INTEGER},",
          "contract_url = #{contractUrl,jdbcType=LONGVARCHAR}",
        "where rent_order_key = #{rentOrderKey,jdbcType=VARCHAR}"
    })
    int updateByPrimaryKeyWithBLOBs(FintechRentOrder record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_rent_order
     *
     * @mbg.generated
     */
    @Update({
        "update fintech_rent_order",
        "set app_key = #{appKey,jdbcType=VARCHAR},",
          "rent_order_no = #{rentOrderNo,jdbcType=VARCHAR},",
          "order_key = #{orderKey,jdbcType=VARCHAR},",
          "user_key = #{userKey,jdbcType=VARCHAR},",
          "goods_title = #{goodsTitle,jdbcType=VARCHAR},",
          "goods_amount = #{goodsAmount,jdbcType=INTEGER},",
          "rent_amount = #{rentAmount,jdbcType=INTEGER},",
          "credit_amount = #{creditAmount,jdbcType=INTEGER},",
          "credit_increase_amount = #{creditIncreaseAmount,jdbcType=INTEGER},",
          "fist_pay_amount = #{fistPayAmount,jdbcType=INTEGER},",
          "rent_type = #{rentType,jdbcType=VARCHAR},",
          "interest_rate = #{interestRate,jdbcType=DECIMAL},",
          "periods_code = #{periodsCode,jdbcType=VARCHAR},",
          "periods = #{periods,jdbcType=INTEGER},",
          "period_type = #{periodType,jdbcType=INTEGER},",
          "period_days = #{periodDays,jdbcType=INTEGER},",
          "rent_start_date = #{rentStartDate,jdbcType=DATE},",
          "buy_out_amount = #{buyOutAmount,jdbcType=INTEGER},",
          "buy_out_repay_amount = #{buyOutRepayAmount,jdbcType=INTEGER},",
          "`status` = #{status,jdbcType=VARCHAR},",
          "buy_status = #{buyStatus,jdbcType=INTEGER},",
          "pay_status = #{payStatus,jdbcType=INTEGER},",
          "create_time = #{createTime,jdbcType=TIMESTAMP},",
          "update_time = #{updateTime,jdbcType=TIMESTAMP},",
          "is_sure = #{isSure,jdbcType=INTEGER}",
        "where rent_order_key = #{rentOrderKey,jdbcType=VARCHAR}"
    })
    int updateByPrimaryKey(FintechRentOrder record);
}